<?php



class FunrParamMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.FunrParamMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('funr_param');
		$tMap->setPhpName('FunrParam');

		$tMap->setUseIdGenerator(false);

		$tMap->addForeignPrimaryKey('GENR_FUNDACION_ID', 'GenrFundacionId', 'int' , CreoleTypes::INTEGER, 'genr_fundacion', 'GENR_FUNDACION_ID', true, null);

		$tMap->addPrimaryKey('FUNR_PARAM_ID', 'FunrParamId', 'string', CreoleTypes::VARCHAR, true, 50);

		$tMap->addColumn('FUNPAR_VALUE', 'FunparValue', 'string', CreoleTypes::VARCHAR, false, 100);

	} 
} 